Tallying information to create a column graph, Mathematics