updated the way in which likes are counted