Loop trought file and count selected instances
<p>I have this file and i want to count the number of instances for each "ROBxx". The file can contain thousands of lines. What is the easiest way to loop trough and count?</p>

<p>2012.05.08 11:15:49 ROB52   4mm</p>

<p>2012.05.08 11:15:56 ROB42   5mm</p>

<p>2012.05.08 11:15:59 ROB30   4mm</p>

<p>2012.05.08 11:16:01 ROB52   4mm</p>

<p>2012.05.08 11:16:04 ROB42   2mm</p>

<p>2012.05.08 11:16:05 ROB06   4mm</p>

<p>2012.05.08 11:16:06 ROB52   4mm</p>

<p>2012.05.08 11:16:10 ROB52   4mm</p>

<p>2012.05.08 11:16:11 ROB30   3mm</p>

<p>The result of this file after count should be:</p>

<p>ROB52: 4</p>

<p>ROB42: 2</p>

<p>ROB30: 2</p>

<p>ROB06: 1</p>

<p>Thanks!</p>
