counts of status and priority