Fixed directory size/items not counting correctly.