The purpose of those functions is to compute some metrics without even touching to the Zustand state in read or write