What is a time signature?

The number of beats in each measure is determined by the time signature. See the DRUM! Notation Guide.