:-/ 

@Eric89GXL you want to do 

`epochs._data.index.values.max()[0]` 


or

`len(np.unique(epochs._data.reset_index(0)['epoch_idx']))`