Yes, they know how many people are on the flight and how many are in each class. They typically check, for all I know they always check. On UA at least on both internation and domestic flights they typically address me by my name when in first or business. I cant see them not catching this very often.