title: Count the number of elements found in selenium python
body: <p>I have the following html page where I am trying to locate the word <code>silver</code> and keep count on how many were found.  </p>
  
  <p>This is just two showing here but it can generate more so I don't know the exact count.  </p>
  
  <pre><code>&lt;tr id="au_4" class="odd"&gt;
  &lt;td&gt;Silver&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr id="au_4" class="even"&gt;
  &lt;td&gt;Silver&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>This is what I tried but no luck:</p>
  
  <pre><code>count =  driver.find_elements_by_xpath("//td[text()='Silver']")
  </code></pre>