Was there any work around found for this? I ran into the same issue
Nope. Instead, I used built-in Rest API provided by October CMS. I have created Routes.php in models then included model I want to use then returned modelname::All() as response for given api url
Ahh, ok. That might be the better route. I found the fix for this, you simply change any instance of count() to !isempty() in the api controllers and helpers. Author might want to update, as its deprecated.