def get_size(self, location, context=None):
        try:
            key = self._retrieve_key(location)
            return key.size
        except Exception:
            return 0
calculate expected value of a function with respect to the distribution
dataset/ETHPy150Open openstack/glance_store/glance_store/_drivers/s3.py/Store.get_size--crossover with--dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/sandbox/distributions/sppatch.py/expect