Add a function for estimating license cost.