A Number of Confusing Expressions
The rule is very simple: An expression such as ?a number (variety, diversity) of? that means ?several,? ?many,? or ?a few? is followed by a plural verb. If you can substitute ?several? in your sentence, use a plural verb. ?The number (variety, diversity) of? is followed by a singular verb. ?The number? is referring to a single entity.