Fixed bit count bug

When counting the bits in a binary input, the prefix was included.