How do I simply get the count of the number of files in a directory?

for instance if I have a directory c:\MailAlert
and it has 3 files in it..I just want to retrieve the number 3.

TY