added a new function which can give the count of how many times a feature is being fired for a perticular masked value. Also change the feature reference data structure now ity also contains the count information in place of rowID of feature