added lock_counter handler to process_matched_obs