index template filter : returns the item at index in a sequence