Restructure count_transcripts_for_genes.