Input: Sentence: 'A girl holding a sandwich in a store'. Count the number of nouns in this sentence.
Output: 3