Input: Sentence: 'A person checking out what kind of cheese is on the sub sandwich'. Count the number of nouns in this sentence.
Output: 5