Added number of times an image appears in content_blocks to images list in cms