Create countNumberOfCoins