Moved tag cloud calculation to own method.