---
# Goal

Create a PHP file that displays the number of files in each folder.

---
# Specification

In this section, we will discuss the specification of the project.

---
## PHP FILES

### PHP File: count-files.php

$finfo contains name and path pairs like

```PHP
$finfo=array(
    "{name}"=>"{path}",
    "{name}"=>"{path}",
    "{name}"=>"{path}",
);
```
{name} is the name of a folder. {path} is the path of the folder.

Use {path} to count the number of files inside the folder.
Make sure to choose the fastest way to get the count (Maybe using FilesystemIterator?)
Do not include filenames that starts with '.'
Do it for each folder in $finfo.

Display a HTML table.
In the table, the first column of the table is the name of the folder.
The second column is the count of the files in the folder.

Please put a header row to the table.
The header of the first column is "Folder".
The header of the second column is "# of Files".
Style rows with alternative background colors.

---
# Closing Notes

If you have any questions regarding the specification, feel free to ask me. Thank you.
