var res = 0;
$(".zf").each(function(){
res += $('li.selected').data('personality');
});
alert(res);
<ol class="zf">
<li class="selected" data-personality="10"></li>
<li class="selected" data-personality="2"></li>
<li class="selected" data-personality="3"></li>
</ol>