(PECL mongo >= 0.8.0)
mongo_gridfile_chunk_num — Returns the number of chunks a file is composed of
Returns the number of chunks a file is composed of.
The grid file.
Returns the number of chunks.