Changed counting sentence method
Stopped using bytestrings