directory size counter example