use uint64_t instead of size_t to prevent overflow (#692)

Maximum value of `size_t` depends on CPU arch, so `document_count_` may overflow when models saved in 64-bit with more than 2^32 `document_count_` are loaded onto 32-bit.

This fix does not break compatibility for existing model files (0.5.0+).