* remove advanced json for count agg
* Remove only advanced json from count agg
* use Constant from data plugin
* add the logic to data plugin
* remove json arg from function definition
* remove unecessary translations
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>