public static int ArgCount(this ILNode node) { return node.Max + 1; } public static int AttrCount(this ILNode node) { return -node.Min - 1; }