Bars
So far, all of the drum patterns you've looked at loop back to the beginning after four beats. This grouping of four beats is called a bar or measure.
Here's a drum pattern that's two bars long:
Songs are made by putting multiple bars of music together to form larger sections, and then putting these larger sections together.