"Coming" is correct, but I would not call it a gerund. It is a participle.
Student or Learner
Hello I have a question for you
Look at the sentence
I banked on my friend to plan a surprise birthday party
For my brother last week.
I didn't bargain on so many people coming.
Why in this sentence did it use coming instead came?
Can anyone explain to me?