Wired in parallel with pump so countdown starts when pump starts its output relay is connected in series with limit switches. After countdown period pump stops.
The concept of a countdown timer is that once the delay is reached it operates. Easy to design.
Out of interest have you a projected budget for this project?