In document, count() return int.
Abstract class Phalcon\Mvc\Model — Phalcon 1.3.0 documentation https://docs.phalcon.io/en/latest/api/Phalcon_Mvc_Model.html
public static int count ([array $parameters])
But count() return string.
code:
$count = Robots::count();
var_dump($count);
result:
string '2' (length=1)
Is it bug?
Phalcon 1.3.2 (DB: MySQL)