I think your frequent flyer number will be in the record if you use an award. The computer is smart enough to look at the booking class and not give you credit for award booking.
Of course, if there is a flight irregularity and they rebook you with the wrong class, then you can get credit.
Steven