How many years was Ivan in control of most of the disputed territory?
return Ivan ;return years that #1 was  in  control of most of  the  disputed territory ;return number of  #2
['select', 'project', 'aggregate']