Find usable host count from a CIDR prefix.
Subtracting 2 accounts for the network and broadcast addresses, which aren't assignable to devices.
usable hosts = 2^(32−prefix) − 2