@@ -0,0 +1,954 @@
+package io.sigpipe.sing.graph;%0A%0Aimport java.io.IOException;%0A%0Aimport io.sigpipe.sing.serialization.SerializationInputStream;%0Aimport io.sigpipe.sing.serialization.SerializationOutputStream;%0A%0Apublic class CountContainer extends DataContainer %7B%0A%0A    long a;%0A    long b;%0A%0A    public CountContainer() %7B%0A%0A    %7D%0A%0A    public CountContainer(long a, long b) %7B%0A        this.a = a;%0A        this.b = b;%0A    %7D%0A%0A    public void merge(DataContainer container) %7B%0A        CountContainer cc = (CountContainer) container;%0A        this.a += cc.a;%0A        this.b += cc.b;%0A    %7D%0A%0A    public void clear() %7B%0A        this.a = 0;%0A        this.b = 0;%0A    %7D%0A%0A    @Deserialize%0A    public CountContainer(SerializationInputStream in)%0A    throws IOException %7B%0A        this.a = in.readLong();%0A        this.b = in.readLong();%0A    %7D%0A%0A    @Override%0A    public void serialize(SerializationOutputStream out)%0A    throws IOException %7B%0A        out.writeLong(a);%0A        out.writeLong(b);%0A    %7D%0A%0A%7D%0A

Add CountContainer for graph statistics