Add utility method to get number of donations (#236)