curl --location --request GET 'https://demo.myshopify.com//admin/api//price_rules/count.json'
{ "count": 2 }