What is the count of aircrafts that have a distance between 1000 and 5000?
return aircrafts ;return distances of  #1 ;return #1 where #2 is  at least 1000 ;return #1 where #2 is  at most 5000 ;return #1 of  both #3 and  #4 ;return number of  #5
['select', 'project', 'comparative', 'comparative', 'intersection', 'aggregate']