benchmark: support appinstance count