class CountsController < ApplicationController respond_to :xml, :json def posts @count = Post.fast_count(params[:tags]) end end