There is proposed a technique for counting channels at a node of a multi-channel
optical network, where the node is connected to a following node and a preceding
node by an optical communication line carrying a plurality of information optical
channels. The technique comprises exchanging of information structures between
the nodes, such that each of the information structures specifies particular optical
information channels which are currently in use at a predetermined network section
or node.