Well, thanks to the latest builds (600+) of MT4, we can now easily get this information.
Here's the code:
string ListSymbols=" ";
The code on it's own just lists out whats available in the Market Watch window and then issues an alert to tell you how many there are. But from this code, you should be able to easily incorporate this into your code.