Estimating behavior frequencies