I thought JKR said during an interview that it was purely a mistake on her part that there were only 40 kids in Harry's year when there were supposed to be thousands of students in the school... though it does work in a reversed "Oh yeah I totally meant that all along" way.
no subject