Added num_docs property returning the number of documents for solr
connection.