title: How to get number of lines of code of a file in a remote repo using PyGithub/ Githubsearch api?
body: <pre><code>commit = repo.get_commit(sha=&quot;0adf369fda5c2d4231881d66e3bc0bd12fb86c9a&quot;)
  print(commit.stats.total)
  i = commit.files[0].filename
  </code></pre>
  <p>I can get the filename, even the file sha; but can't seem to get loc of the file. Any pointers?</p>