[Refactor] - Add the filters of key and value for Mean