[Olena-patches] milena r4250: Add traits to mean accumulator