Input: Sentence: 'A fork, apple, orange and onion sitting on a surface'. Count the number of nouns in this sentence.
Output: 5