>>6452334in america at least everyone in one grade at one school is referred to as a "graduating class," different from a regular "class" which is just a group of people that are in a particular classroom at the same time
so usually when someone says "how many people were in your class" they're referring to your graduating class unless context implies otherwise