Simple wrapper around SLOCCount
A simple wrapper, essentially implementing the details written out by David A. Wheeler and relying on his SLOCCount binary to do all the heavy lifting. http://www.dwheeler.com/sloccount/sloccount.html
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.