Initialise the unread counter when the items are loaded