Browsing by Keywords calculation of cost