v.25.4Performance Improvement

Implement trivial count optimization

Implement trivial count optimization for Iceberg. Now queries with count() and without any filters should be faster. Closes #77639. #78090 (alesapin).