ENH:  add Epoch.__len__

Consistent with indexing and iteration behavior.