SELECT COUNT(*) FROM a_fichas,a_cats where a_cats.id=a_fichas.cat_id and a_fichas.dlinks='0' order by a_fichas.date_updated desc