retrieving the cost of court