(PECL solr >= 0.9.2)
SolrInputDocument::getFieldCount — Returns the number of fields in the document
Returns the number of fields in the document.
This function has no parameters.
Returns an integer on success or FALSE on failure.