title: Get line count for all different file types in a repository
body: <p>How would I get the line count for all the different file types in my repository?  So for example, if my repository contained 3 file types:</p>
  
  <ul>
  <li>java</li>
  <li>xml</li>
  <li>(no file extension)</li>
  </ul>
  
  <p>I want the output to be something like this:</p>
  
  <pre><code>java 150
  xml 20
  (no file extension) 30
  </code></pre>
  
  <p>I can run a command that will retrieve the line count for a specific file type (<code>git ls-files | grep "\.java$" | xargs cat | wc -l</code>), but assuming I don't know what all the file types are in my repository, how would I go about retrieving them all with their respective line counts?</p>