func (s *CountService) Pretty(pretty bool) *CountService {
	s.pretty = pretty
	return s
}
Pretty indicates that the JSON response be indented and human readable.
package elastic
import (
	"fmt"
	"net/url"
	"strings"
	"gopkg.in/olivere/elastic.v3/uritemplates"
)
type CountService struct {
	client                 *Client
	pretty                 bool
	index                  []string
	typ                    []string
	allowNoIndices         *bool
	analyzeWildcard        *bool
	analyzer               string
	defaultOperator        string
	df                     string
	expandWildcards        string
	ignoreUnavailable      *bool
	lenient                *bool
	lowercaseExpandedTerms *bool
	minScore               interface{}
	preference             string
	q                      string
	query                  Query
	routing                string
	bodyJson               interface{}
	bodyString             string
}
func NewCountService(client *Client) *CountService {
	return &CountService{
		client: client,
	}
}
func (s *CountService) Index(index ...string) *CountService {
	if s.index == nil {
		s.index = make([]string, 0)
	}
	s.index = append(s.index, index...)
	return s
}
func (s *CountService) Type(typ ...string) *CountService {
	if s.typ == nil {
		s.typ = make([]string, 0)
	}
	s.typ = append(s.typ, typ...)
	return s
}
func (s *CountService) AllowNoIndices(allowNoIndices bool) *CountService {
	s.allowNoIndices = &allowNoIndices
	return s
}
func (s *CountService) AnalyzeWildcard(analyzeWildcard bool) *CountService {
	s.analyzeWildcard = &analyzeWildcard
	return s
}
func (s *CountService) Analyzer(analyzer string) *CountService {
	s.analyzer = analyzer
	return s
}
func (s *CountService) DefaultOperator(defaultOperator string) *CountService {
	s.defaultOperator = defaultOperator
	return s
}
func (s *CountService) Df(df string) *CountService {
	s.df = df
	return s
}
func (s *CountService) ExpandWildcards(expandWildcards string) *CountService {
	s.expandWildcards = expandWildcards
	return s
}
func (s *CountService) IgnoreUnavailable(ignoreUnavailable bool) *CountService {
	s.ignoreUnavailable = &ignoreUnavailable
	return s
}
func (s *CountService) Lenient(lenient bool) *CountService {
	s.lenient = &lenient
	return s
}
func (s *CountService) LowercaseExpandedTerms(lowercaseExpandedTerms bool) *CountService {
	s.lowercaseExpandedTerms = &lowercaseExpandedTerms
	return s
}
func (s *CountService) MinScore(minScore interface{}) *CountService {
	s.minScore = minScore
	return s
}
func (s *CountService) Preference(preference string) *CountService {
	s.preference = preference
	return s
}
func (s *CountService) Q(q string) *CountService {
	s.q = q
	return s
}
func (s *CountService) Query(query Query) *CountService {
	s.query = query
	return s
}
func (s *CountService) Routing(routing string) *CountService {
	s.routing = routing
	return s
}