finalizing rake and show count on api index