Modified Console app  to display number of operations