@Override
    protected void onSerialize(Serializer buf) {
        super.onSerialize(buf);
        buf.putLong(null, count);
    }
Sets the number of aggregated hits.

@param count the count
@return this, to allow chaining
searchlib/src/main/java/com/yahoo/searchlib/aggregation/CountAggregationResult.java