Take into account the number of problematic variables when reporting lambda expression warnings