v.23.11Performance Improvement

Trivial Count Optimization for Npy Data Format with Result Caching

Trivial count optimization for Npy data format: queries like select count() from 'data.npy' will work much more fast because of caching the results. #56304 (Yarik Briukhovetskyi).