implemented getNewsCount and getNews