Calculate the number of variables for a given parameter
Count the number of variables in the same scope of the parameter. Given the example below, there are two variables, one in the constructor and another in the body of the method.
public void exampleMethod(String a) {
String b = null;
}