added the binnedCounts.R gist