Sorry to hear your mom has Stomach Cancer. No one can say for certain how much time your mom has left but the life expectancy of someone diagnosed with Stomach cancer is around 5 years.
Though people can live longer than that with Stomach Cancer.
Spend as much time as you can with your mom while she's around.