added enrollment count by department function