make tests pass for counting sentences in a string