If you have delete the records of hive external table from HDFS and table is not partitioned table and table is showing count(*) from table then use below properties to update metastore.
set hive.compute.query.using.stats=false;
ANALYZE TABLE table_name COMPUTE STATISTICS;
If your table is partition table then use below command to analyze.
ANALYZE TABLE table_name partition(id='12',name='xyz') COMPUTE STATISTICS;
set hive.compute.query.using.stats=false;
ANALYZE TABLE table_name COMPUTE STATISTICS;
If your table is partition table then use below command to analyze.
ANALYZE TABLE table_name partition(id='12',name='xyz') COMPUTE STATISTICS;