yes it's possible to count files in a directory..
simply use scandir() function like this:
this will count the number of files found in the directory "mydir" and then assign the names to the array $files.
you can manipulate this array with foreach() like:
this will print the files found like:
column
FILENAME.html
HTH
