add total display on the home page