The enrollment numbers are probably for majors, i.e. enrollment count of 5 for the French program means there are 5 students majoring in French. The vast majority of students taking French classes would be taking them for general education requirements (or whatever WVU calls that), or due to other degree programs requiring a language class, or as electives.
At my alma mater, the Philosophy department had something like 10 majors, but the whole department was kept afloat by the Nursing College's requirement for their students to take an ethics class. The philosophy professors would teach a few high-level philosophy courses to tiny classes, and then several massive ethics seminars with hundreds of nursing students.