Fill in countInSet so that it returns how many words are members of allowed — counting every occurrence, not just distinct ones.
countInSet
allowed
The program prints 3.
3