I want to verify that two folders have the same number of files.

For example if there are 5 files in folder `c:\Users\abc\INBOX`, I want to verify that there are also 5 files in folder `c:\Users\abc\OUTBOX`

How can I achieve this?