Using mark-recapture to estimate the numbers of a migrating stage-structured population