On the example of this code:
$books = Books::find() ->joinWith(['reviews']) ->select(['books.id','books.name', 'COUNT(reviews.id) as cnt']) ->groupBy('books.id') ->orderBy('books.name') ->all(); How to display (get) id, name and the number of all reviews (cnt)?