def count_chunks(self, chunk_size):<EOL>
return len(self.iter_chunks(chunk_size))<EOL>
Returns the number of constant-size chunks the TryteString can
be divided into (rounded up).

:param chunk_size:
    Number of trytes per chunk.