debugging counts