in batching/batching.go [112:118]
func (b Batches) Len() int { l := 0 for _, batch := range b { l += len(batch.Data) } return l }