Foxx repo indexes

Fixes #899.
Good catch. We decided for the following standard for instance methods though: `FoxxRepository#count()` Could you adjust it?