add a function to know the total number of collections done so far. Useful for testing