title: How to get text from inside a <span class="className">TEXT I WANT</span> in Python
body: <p>How to get the text as per the Title which amounts to <code>21,427</code> as per the screenshot below.</p>
  
  <p>I tried this and it did not work: </p>
  
  <pre><code>rating_count = soup.find("span", attrs={'class':'rating_count'})
  print rating_count
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/n22uW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n22uW.png" alt="enter image description here"></a></p>
  
  <p>This is the output</p>
  
  <p><a href="https://i.stack.imgur.com/k8PmO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k8PmO.png" alt="enter image description here"></a></p>