I want to count all record from table without specify any condition :
now, i am doing by this way
$result['cms'] = Cms::find()->where([])->count();
and it will give me result,but i don't want to use where clause.
So how to count all records without where clause.
Thank you