Removed deprecated code regarding proposals count for a theme.