code: func (b *buildStats) update(p page.Page) {
  	if p.Draft() {
  		b.draftCount++
  	}
  
  	if resource.IsFuture(p) {
  		b.futureCount++
  	}
  
  	if resource.IsExpired(p) {
  		b.expiredCount++
  	}
  }
docs: // TODO(bep) consolidate all site stats into this