Count IP and input reads per bin. Outputs bam file