flipped counting logic of counts-of-status-and-priority