title: Using cloc (count Lines of Codes) result
body: <p>I am writing a script for my research, and I want to get the total number of lines in a source file. I came around cloc and I think I am going to use it in my script. </p>
  
  <p>However, cloc gives result with too many information (unfortunately since I am a new member I cannot upload a photo). It gives number of files, number of lines, number of blank lines, number of comment lines, and other graphical representation stuff. </p>
  
  <p>I am only interested in the number of lines to use it on my calculations. Is there a way to get that number easily (maybe by performing some options in command line (although I went through the available options and didn't find something useful for my case))?</p>
  
  <p>I thought to do regular expression on the result to get the number; however, this is my first time using cloc and there might be a better/professional way of doing it.</p>
  
  <p>Any thought?</p>
  
  <p>Regards,
  Arwa</p>