Added groups and collections counters to index page. Fixes #435, fixes #436