check number of api requests when creating tasks