Input: Sentence: 'A young pretty lady dressed in a sexy maids outfit while sitting on a counter top'. Count the number of nouns in this sentence.
Output: 5