after posting this question i didnt find any macro can do this function it think i should develope a custom methode to count the number of categoryItem come from page type (cms.news) any idea thank...