We're using `ActivitySystemConfig.getConfig().numberOfProcessingBuckets` to truncate the number of buckets, however the `bucketsInfo` model implies that each type of bucket can have its own number of buckets. I think maybe this value should be a parameter that is passed into `getBucketNumber`