This is a question which could not be answered easily. A rough estimate some years ago would have been 7000-8000. Finally we have a more accurate answer.
This appears in a document called “National Rail Plan”-Draft Final Report dated 2000. On page 91 we have this:
Depending on how you count, the number could be anything from 7349 onwards.