https://handywebdesign.net/2017/08/add-a-total-number/