There are three times as many girls than there are boys in a dance. If there are 24 people total in the dance class, how many boys are in the dance class?