add documents counter cache to category