Input: Sentence: 'A person's hand holding a phone and swiping the screen'. Count the number of nouns in this sentence.
Output: 4