Input: Sentence: 'A delivery truck that has been in a wreck'. Count the number of nouns in this sentence.
Output: 3