A method to evaluate environmental enrichment