agg work type by count