This is rather difficult. I am lazy to compute the number out. There are many things to consider, including en passants and the stuck pieces being able to move at a later time.
The easier path of 1. Kf1 bxc2 is easier to compute because Black has no choice but to oscillate between two squares while the White king is confined to four squares. So in this case, essentially this problem reduces to a problem of how many ways the White king can move.
So what happens after 1. Kf1 dxc2 2. Ke1 when the only Black piece which can be moved, the king, gets captured after any move?
Today is the first day of the new Hebrew Year, 5778. A mathematically auspicious number!
In an entirely unrelated matter
here is a chess position.
Assuming optimal play, how many different possible sequences are there of the next 18.0 moves?
(Shorter games don't count. Ignore the rules for drawing by repetition & dead position.)
Good luck solving!
Andrew