QUERY PLAN
Aggregate (cost=36.71..36.72 rows=1 width=8)
-> Bitmap Heap Scan on tbl_projects (cost=4.36..36.70 rows=1 width=0)
Recheck Cond: (client_id = 2150)
Filter: ((bargain_date >= '2026-01-01'::date) AND (bargain_date <= '2026-12-31'::date) AND (project_status = 3))
-> Bitmap Index Scan on tbl_projects_client_id_idx (cost=0.00..4.36 rows=10 width=0)
Index Cond: (client_id = 2150)