get_funnel_measure function

Internal function for calculating funnel measure