Input: Sentence: 'A pony show is taking place on children's play mats'. Count the number of nouns in this sentence.
Output: 6