stats: First pass of write_size_quantity method