ADD 2 class method and 1 static int to Fraction , and test static counting…