int () { final ASTNode node = getNode(); int num = 0; ASTNode run = node.getFirstChildNode(); while (run != null) { if (run.getElementType() == GroovyTokenTypes.mLBRACK) num++; run = run.getTreeNext(); } return num; }