I am looking for a way to count the number of PDF files in all repositories existing in a self hosted github server (Github Enterprise). I've got the idea of iterating over all the repositories, list the existing files and count but I'm not sure if this is the best idea. What would be the recommended way to do that ?
Thanks