Initial counting and histogram table (non-sortable) working