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