Coin dispenser denomination calculator with security