new total numbers functionality