diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/home_controller.rb
+++ b/app/controllers/home_controller.rb
@@ -1,6 +1,6 @@
 class HomeController < ApplicationController
   def index
-    @count = Rubygem.total_count
+    @count = Version.latest.count
     @latest = Rubygem.latest
     @downloaded = Rubygem.downloaded
     @updated = Version.updated
Use Version.latest.count instead of total_count since AR hates DISTINCT