Added several logical operations including 'numberOfOneBits' and 'sizeInBits'.