Modified script to get number of news requested by user