select count(*) as total from products p, products_description pd where p.products_status = '1' and p.products_id = '0' and pd.products_id = p.products_id and pd.language_id = '4' Array ( [total] => 0 )