Don’t say: The number of pupils are increasing.
Say: The number of pupils is increasing
Don’t say: A number of pupils is absent today.
Say: A number of peoples are absent today.
! When we precede number by the it denotes a unit and is singular. When it’s preceded by a it means several or many and is plural.