Is it possible to pass the cost to the resolver, or to create a new type (for example, to take query{remaining {cost, remainingCost}})?