Added functionality to calculate revenue generated by visits
fixing mrege issues