tag status counts with process name
include counts for all possible statuses, count=0 if status does not apply
remove left-over variable assignment