[development] writing a module to count the nodes and format them