title: Solr/Solrj: How can I determine the total number of documents in an index?
body: <p>How can I determine the total number of documents in a Solr index using Solrj?</p>
  
  <p>After hours of searching on my own, I actually have an answer (given below); I'm only posting this question so others can find the solution more easily.</p>