Media: Fix listing/counting media by folder request

5 jobs for master in 10 minutes and 53 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #247545
amd64 debian
build-linux

00:02:46

passed #247546
win32
build-win32

00:02:45

passed #247547
win64
build-win64

00:02:43

 
  Unit Tests
passed #247548
amd64 debian
unit-tests-linux

00:02:51

 
  Functional Tests
passed #247549
amd64 debian
functional-tests-linux

00:02:31