(PECL swoole >= 1.9.0)
Swoole\Table::count — Count the rows in the table, or count all the elements in the table if $mode = 1.
This function has no parameters.