The way that I do that, is to create a new column in the data table, and call it "Count", setting each rows value to 1. I then go to Graph Builder and select my x axis and then set my y axis to the count column, and it's statistic to sum.
There are soooooo many things you can do with Graph Builder, that there may be a Community member that can show a better way to solve your problem
Jim