Yes I'd say they got more frequent over time. Are you pregnant now OP?
Does the pain feel like it's sort of based around your right shoulder blade? For ages I didn't recognise that this was the case because it's everywhere but that's often the sign it's gallbladder.
Some people get attacks after eating fatty foods but that was never a specific/obvious trigger for mine. Am/was otherwise healthy, not overweight etc. Did they tell you the 5 'F's - fat, female, forty, fertile, fair... I was female, fair and fertile but not fat or forty!