I was perusing Mugglenet yesterday, and it says that:

"Hogwarts has about a thousand students. (True, that number doesn't seem right, but J.K.R. said so, and she's the boss.)"

I don't know if that's reliable, but I thought I'd share.