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

Fix for checks

Fix for checks for too many tables with Replicated database after #77274. Also, perform the check before creating the storage to avoid creating unaccounted nodes in Keeper in the case of ReplicatedMergeTree or KeeperMap. #78127 (Nikolay Degterinsky).