At least at many public universities, the class search function is publicly available – you do not have to have a student ID to access it. For those schools, you can search and see, for ex, how many intro Econ classes are offered, how many discussion sections for that class and even how many seats are in the entire class as well as each section. Privates generally do not make that class search function publicly available.