More pythonic syllable counter