Counting the amount of times a number shows up as the first digit in a data set : <p>I have a dataset as a .txt file like this:</p>

<pre><code>17900
66100
11300
94600
10600
28700
37800
</code></pre>

<p>I want to extract the first digit from every number in my dataset and then count how many times that number appears as the first digit in my dataset. How would I solve that in python code?</p>
