Add a helper for calculating percentages of collections