Use Long instead of Int for the counter in histogram
Merge pull request #435 from daikeshi/histogram-long-type

Merge #435