I keep count! If I know I had 4 ideas on a run, I can usually bring them back to mind if I focus. Even holding my fingers in the four position with one down helps. Sounds a little odd but I’ve found I do my best work while walking the dog/going for a run and can’t usually make notes until I get home.