Count the cost of charging