Update countNumberOfCoins

Description