code: func (s *CountService) TerminateAfter(terminateAfter int) *CountService {
  	s.terminateAfter = &terminateAfter
  	return s
  }
docs: // TerminateAfter indicates the maximum count for each shard, upon reaching
  // which the query execution will terminate early.