code: @Override
    public synchronized void readFields(DataInput in) throws IOException {
      name = CounterNames.intern(Text.readString(in));
      if (in.readBoolean()) {
        displayName = CounterNames.intern(Text.readString(in));
      } else {
        displayName = name;
      }
      value = WritableUtils.readVLong(in);
    }
docs: Read the binary representation of the counter