Wiener-type indices of Parikh word representable graphs