Changes rake task to populate counts