count needs to be set when there is a latest value.
tests for JSON serialization of new rollup types.