Bug fixed mispelt include

Changed average syllable count to use foreach to avoid undefined offset error