Refresh the stats graph when number of selected table rows changes