add 'of total' logging mesage