added teacher count filter