title: awk to count lines in column of file
body: <p>I have a large file that I want to use <code>awk</code> to count the lines in a specific column <code>$5</code>, before the<code>:</code> and only count <code>-uniq</code> entries, but seem to be having trouble getting the syntax correct.  Thank you :).</p>
  
  <p><strong>Sample Input</strong></p>
  
  <pre><code>chr1    955542  955763  +   AGRN:exon.1 1   0
  chr1    955542  955763  +   AGRN:exon.1 2   0
  chr1    955542  955763  +   AGRN:exon.1 3   0
  chr1    955542  955763  +   AGRN:exon.1 4   1
  chr1    955542  955763  +   AGRN:exon.1 5   1
  
  awk -F: ' NR &gt; 1 { count += $5 } -uniq' Input
  </code></pre>
  
  <p><strong>Desired output</strong></p>
  
  <pre><code>1
  </code></pre>