Fixed generating counts for the video sitemap

This fixes a really slow query that's been taking the site down.