JHelperMedia::countFiles

Counts the files and directories in a directory that are not php or html files.