How to check if exactly four of a certain character is in a string?
<p>My gut tells me that regex is likely the only option, but I'm hoping python can surprise me.  I'm reading in a string and want to return true if there are four dashes (<code>-</code>) in the string.  Exactly four.  Is there an easy way to do this in python?</p>
