Couldn't run the sql !!...SELECT COUNT(*) AS total FROM _news_cat_record where published='1' and parent = '' and id<>