counts folders correctly; closes #78
Merge pull request #84 from curationexperts/sorting

counts folders correctly; closes #78