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