In the future should you want to do the average rating of an episode, you can do the following:
1. Take the total number of votes, call this A.
2. Take the number of votes for each rating from 1 to 10, call this B1, B2, ... , B10.
3. Use the equation B1/A*1 + B2/A*2 + ... + B10/A*10. That should get you the average.