fix count collection in category