Make for loop counter type same as count's