v.25.6Bug Fix (user-visible misbehavior in an official stable release)

Fix hardlinks count management

Fix hardlinks count management for metadatastoragefromdisk disk transactions. add tests. #81066 (Sema Checherinda).