graphql: Remove specialised function
Created by: ryanslade
calcNodeCost can also be used to calculate fragment costs.
Also, don't count "__typename" fields.
Created by: ryanslade
calcNodeCost can also be used to calculate fragment costs.
Also, don't count "__typename" fields.