document countne & counter