if (!frequency->contains (&access_code, word), { ulong access_code = 0 })
{
  add (frequency, word, 1);
} 
else 
{
  set (frequency, access_code, counter + 1), { counter = get (frequency, access_code) };
}