Masturbating

At the age of 10 I would sleep with a pillow between my legs, and one night it "hit the right spot" and for the following weeks I continued to do that, but never climaxed. does this count as masturbation?? My boyfriend and I are currently in a hilarious argument about it😂😂😂 (I don't masturbate)