Update GraphNode.scala

adding forward and back counters.