...and I think I've figured out the script's algorithm for counting syllables. It considers all pairs of vowels to be dipthongs, and counts the number of occurrences of vowels/dipthongs in a word and considers that the number of syllables. Hence, it messes up sometime, counting "wasn't" as one syllable and "medium" as two...
Eating time.