Add id for task counts.