Count files (with optional filters) and directories of a specific location