Hello jmedsyIf, to begin with, we ignore the s's, there are arrangements of the remaining letters, which have repeated i's and repeated p's.
Now imagine that these 7 letters are arranged with a space in between each, and an additional space at each end. That's 8 spaces in all. 4 of these 8 spaces must be chosen to contain an s; and there are ways of doing this.
So I reckon the answer is:
ways.Grandad