Create countbits.py