Fix syllable counting with unit test for syllable count