JHelperMediaTest::testCountFiles

Tests the countFiles method