@Override
  public void visitElement(@NotNull PsiElement element) {
    if (element instanceof GrBlockStatement || element instanceof GrOpenBlock) {
      super.visitElement(element);
    }
    else if (element instanceof GrStatement) {
      if (element.getParent() instanceof GrStatementOwner) {
        statementCount++;
      }
      super.visitElement(element);
    }
  }
@Override
  public void visitElement(@NotNull PsiElement element)