How do you use PHP4 to count # of files in a directory?

Thanks...