couting unread logs