Cleaning subRoots

Replaced the filter + size by a count