Combining multiple count items in python?
<pre><code>return function.count('1') + given.count('2') + given.count('3')
</code></pre>

<p>is there any way I can simplify this line?
also i've tried
return function.count('1', '2', '3') but runs an error
the goal is to count all numbers contained in the string lol</p>
