Count mongo ops in tests
LMS-2909

Count mongo ops on path_to_location