See this post on the same topic:
Then the number of dtset is equal to the number of q
In passing
nqpt 1
iqpt: 0
iqpt+ 1
is a bit too simplistic in most cases, imposing DS1=GS
DS2=qpt number 1 etc…
you might also have a ddk, or other nscf runs etc…
An intermediate strategy is to give the iqpt explicitly, but the qpt value is generated automatically from the list
iqpt2 1
iqpt3 1
iqpt4 2
itpq5 3
etc…