Implement accumulate
and friends for Tuple
#34654
Merged
accumulate
and friends for Tuple
#34654