add dashboard and images_count to document