calculate article ranking