Teaser 2502: [Swimming lengths]

From The Sunday Times, 5th September 2010 [link] [link]

John and Pat were swimming at the pool. John started at the deep end at the same time as Pat started at the shallow end, each swimming lengths at their own steady speed. They passed each other on their first lengths and then passed each other again on their second lengths. It turned out that the length of the pool was a multiple of the distance between those first two passing points. John got out of the water after completing 48 lengths. At that moment Pat had also completed a whole number of lengths.

How many?

This puzzle was originally published with no title.

[teaser2502]