count articles and edit in table