Input: Sentence: 'a young man gets some food for a family'. Count the number of nouns in this sentence.
Output: 3