Here is a class TestClass that has a method with declared type variables:
class TestClass {
...
public <A, B, C, ...> void someMethod() {
//
}
..
}
Implement printTypeVariablesCount method that accepts an instance of TestClass and the name of its method.
The method should print the number of type variables.