modified code for count in header in saved articles