added count method to articles manager