title: What's the difference between select distinct count, and select count distinct?
body: <p>I am aware of <code>select count(distinct a)</code>, but I recently came across <code>select distinct count(a)</code>. </p>
  
  <p>I'm not very sure if that is even valid.</p>
  
  <p>If it is a valid use, could you give me a sample code with a sample data, that would explain me the difference. </p>
  
  <p>Hive doesn't allow the latter.</p>
  
  <p>Any leads would be appreciated! </p>