fix the counting syllables, and code clean up
added a test in for wildcards