QUERY PLAN
Aggregate (cost=144.69..144.70 rows=1 width=8)
-> Seq Scan on tbl_contacts (cost=0.00..143.86 rows=332 width=0)
Filter: ((client_id IS NOT NULL) AND (user_status = 1))