Support of getNumberOfDocument API.

Support of AddStringTerm per field