Cake 3x:- how to use count and sum in find query
<p>i want to select count "id" and sum of price in cakephp-3.x
simple mysql query:- </p>

<p><code>SELECT COUNT(id) as count, SUM(price) as total_price FROM bookings WHERE id=3;</code></p>

<p>i don't know how to write this query in cakephp-3.x</p>

<p>Please let me know how to write this query in cakephp-3.x</p>