add up happy words on client side