Added stats command to retrieve collection stats and general stats