Update count of logs needing analysis better