we are missing a way to invoke the GetVmTemplateCount query in the rest api. the problematic issue here is for the rest-api to return a number, rather than a resource. we can work-around this particular issue by retrieving the relevant objects and count them, but this may result in a huge response traffic (e.g. 1000 objects) just for ultimately receiving a number (e.g. "1000").
Verified on 3.6.0-0.0.master.20150427173543.git61dec8c.el6