You’re allowed to be president two times, this is a constitutional amendment. But for it to count as one time, you have to be president for some fraction longer than 50% of a four year term, i.e. 2 years plus 1 day. So if Biden can survive that long then die, Kamala would be president but it wouldn’t count as a term. She could then run for office twice more.