from lnx.logicnode.lnx_nodes import * class ArrayCountNode(LnxLogicTreeNode): """Returns an array with the item counts of the given array.""" bl_idname = 'LNArrayCountNode' bl_label = 'Array Count' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketArray', 'Array') self.add_output('LnxNodeSocketArray', 'Count')