add total elements log