public void FromImport(Person p, int ageQuant)
        {
            HasFirstname.Update(string.IsNullOrEmpty(p.GivenName) || string.IsNullOrWhiteSpace(p.GivenName) ? 0 : 1);
            HasMiddlename.Update(string.IsNullOrEmpty(p.MiddleName) || string.IsNullOrWhiteSpace(p.MiddleName) ? 0 : 1);

            if (!string.IsNullOrEmpty(p.GivenName))
            {
                GivenHasFirstName_HowManyNames.Update(p.GivenName.Split(' ').Length);
            }

            if (!string.IsNullOrEmpty(p.MiddleName))
            {
                GivenHasMiddleName_HowManyNames.Update(p.MiddleName.Split(' ').Length);
            }

            HasSirname.Update(string.IsNullOrEmpty(p.Sn) || string.IsNullOrWhiteSpace(p.Sn) ? 0 : 1);
            if (!string.IsNullOrEmpty(p.Sn))
            {
                var numberOfSirnames = Math.Max(p.Sn.Split(' ').Length, p.Sn.Split('-').Length);

                GivenHasHasSirname_HowManyNames.Update(numberOfSirnames);

                if (numberOfSirnames > 1)
                {
                    HasMultipleSirname_UseBindestrek.Update(p.Sn.Contains("-") ? 1 : 0);
                }
            }
        }
        public void SetDistribution(bool dispose)
        {
            HasFirstname.SetDistribution();
            HasMiddlename.SetDistribution();
            HasSirname.SetDistribution();

            if (dispose)
            {
                DisposeSamples();
            }
        }
 public void DisposeSamples()
 {
     HasFirstname.DisposeSamples();
     HasMiddlename.DisposeSamples();
     HasSirname.DisposeSamples();
 }