arg_name: option name: hint type: string or array|object description: | The index to use. If you specify a document, it is interpreted as an index specification and a name will be generated. optional: true interface: phpmethod operation: MongoDB\\Collection::count position: 1 --- arg_name: option name: limit type: integer description: | The maximum number of documents to return. optional: true interface: phpmethod operation: MongoDB\\Collection::count position: 2 --- source: ref: maxTimeMS file: apiargs-common-option.yaml operation: MongoDB\\Collection::count position: 3 --- source: ref: readConcern file: apiargs-common-option.yaml operation: MongoDB\\Collection::count replacement: resource: "count" position: 4 --- source: ref: readPreference file: apiargs-common-option.yaml replacement: resource: "count" position: 5 --- arg_name: option name: skip type: integer description: | The number of documents to skip before returning the documents. optional: true interface: phpmethod operation: MongoDB\\Collection::count position: 6 ...