Input: Sentence: 'a woman posing for the camera by the side of a truck'. Count the number of nouns in this sentence.
Output: 4