Input: Sentence: 'A man in yellow vest placing a case onto a loading dock'. Count the number of nouns in this sentence.
Output: 5