It looks like a simple count of the language(s) detected by the linguist project -- https://github.com/github/linguist
Agreed, does not make much sense if it isn't a weighted average. A simple count could very well be littered with Hello-world repos (I've found a lot of those, in various languages) by people who are 'trying' github on.