The top languages calculation on GitHub is done by lines of code per language. By that calculation, there are 4.5x more Ruby LOC than C LOC on Github, yet C is still has the most bytes.
If your project includes both Ruby and Perl, Ruby and Perl each get a +1.