Input: Sentence: 'A person holding a phone up to their face while sitting in a car'. Count the number of nouns in this sentence.
Output: 4