Added a counter to see no of multiplications