public static void GetDashboardsCount(Guid applicationId, ref List <DashboardCount> counts, Guid userId,
                                              Guid?nodeTypeId, Guid?nodeId, string nodeAdditionalId, DashboardType type)
        {
            string spName = GetFullyQualifiedName("GetDashboardsCount");

            try
            {
                if (nodeId == Guid.Empty)
                {
                    nodeId = null;
                }
                if (nodeTypeId == Guid.Empty)
                {
                    nodeTypeId = null;
                }

                string strType = type == DashboardType.NotSet ? null : type.ToString();

                IDataReader reader = ProviderUtil.execute_reader(spName, applicationId,
                                                                 userId, nodeTypeId, nodeId, nodeAdditionalId, strType);
                ProviderUtil.parse_dashboards_count(ref reader, ref counts);
            }
            catch (Exception ex)
            {
                LogController.save_error_log(applicationId, null, spName, ex, ModuleIdentifier.NTFN);
            }
        }