add node count code and its result