Tweaked syllable counter function to more accurately count syllables