Range first producing error "both limit and seq must be provided..."

I’ve narrow it down to some data files I’m calling in. I’ve used “first” and “last” functions to target the data and display and display some differently. This is the offers.html file that the error message refers to…

{{ range first 2 .offer }}
  <div class="{{ .cols }} p-x-md m-b-lg">
    <p class="lead"><strong>{{ .name }}</strong>. {{ .desc }}. <span class="text-muted">{{ .terms }}</span> {{ .telloc }}</p>
  </div>
{{ end }}

{{ range last 1 .offer }}
  <div class="{{ .cols }} p-x-md m-b-lg">
    <p class="lead"><strong>{{ .name }}</strong>. {{ .desc }}. <span class="text-muted">{{ .terms }}</span> <a href="tel:{{ .telint }}">{{ .telloc }}</a></p>
  </div>
{{ end }}

If I remove “first 1” and “last 2” and just use {{ range .offer }} the errors disappear. The content displays as desired with the first and last functions though?