The Differences between “a number of” and “the number of”
“A number of” refers to an unspecified quantity and is followed by a plural verb while “the number of” refers to a precise quantity (or it would be expected that the speaker knows the number in question) and is followed by a singular verb.