AR类,怎么获得查询结果的条数?

比如,


model()->findall('id>100');

怎么知道一共查询到了多少条结果?

if(count($model) > 0 )