I suspect you may have accidentally left out the count table file at some point in the pipeline. Could you go back through the different versions of files ending in count_table and use them as input to count.groups? This should show you were you seem to be losing the count information. Once you narrow that down, let us know and we can figure out why you’re losing the information.