THE ULTIMATE SYLLABLE COUNTER!!
please ignore that it can't handle words with multiple possible pronunciations like "moped"
This makes heavy use of phonemizer, all credit to those masterminds!
Syllable analysis using festival based on apparent pronunciation in American English: