Added syllable count. Refactored counter.js