how to determine licensing fees