Update G_Counter definition.
Reformatting and working PN_Counter.