use .count_bytes in the docs