[master] Fixed broken log_contains_count