Counts were being stored in the wrong matrix

Thread results were in the wrong place