I found why
there is an attribute call count in my model.
maybe it call count attribute rather than as count in sql.
this is a stupid question lol.
thanks everyone.