So here is my query.
use Nova\Models\Accounts;
use Nova\Models\AccountStatus;
public function indexAction(){
  $statusCount = AccountStatus::query()
  ->leftJoin('Accounts','a.id = AccountStatus.accountId','a')
  ->where('a.userId = :id:')
  ->bind(array('id' => 1)) // 1 is test value
  ->execute();
}Getting this error:
Phalcon\Mvc\Model\Exception: Model 'Accounts' could not be loaded /nova/app/controllers/DashboardController.php (44)