Function getSignatureParamsForMsgCount

Returns signature params adapted for the provided message count reusing them from the provided map. Acts as a cache lookup and can update the cache.