added binning by interval and frequency to simple count result