QUERY PLAN
Aggregate (cost=88.30..88.31 rows=1 width=8)
-> Bitmap Heap Scan on tbl_projects (cost=4.54..88.30 rows=1 width=0)
Recheck Cond: (client_id = 2130)
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.54 rows=35 width=0)
Index Cond: (client_id = 2130)