Input: Sentence: 'A plate that has meat and a salad on it'. Count the number of nouns in this sentence.
Output: 3