Now calculate backlog stats.