Add methods to find and count number of static methods.