Console.log added

Added consult.log again to reflect the total based on user input.