Input: Sentence: 'A person is learning how to ski at a resort'. Count the number of nouns in this sentence.
Output: 2