How to determine the length of a bytes object in Python?