Estimation of total lightning from various storm parameters: A cloud-resolving model study