Input: Sentence: 'The giraffe is standing beside the musician's wagon'. Count the number of nouns in this sentence.
Output: 3