made create_read_counts faster and less redundant

Just making these functions a bit faster