Directory counter