object false
node(:count) { @products.count }
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
node(:pages) { @products.num_pages }
child(@products) do
  extends "spree/api/v1/products/show"
end


object false
node(:count) { @products.total_count }
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
node(:pages) { @products.num_pages }
child(@products) do
  extends "spree/api/v1/products/show"
end


Return total_count not just count for @products
Return total_count not just count for @products
