Count recursive method calls, sealed classes, inner classes and if condition.