The algorithm for getting count of possible options for coin change problem