fix tasks count in API
app project code filter to API