counting buckets 'count images' added to fg-metric-beta but need to be improved