The problem is pretty obvious your just referring to the table that holds the BoyNames and GirlNames, you would have to do something like this.
local BoyGirlNames = {
["BoyNames"] = {"Liam","Noah","William","James","Oliver","Benjamin","Elijah","Lucas","Mason"
};
["GirlNames"] = {"Emma","Olivia","Ava","Isabella","Sophia","Charlotte","Mia","Amelia","Harper","Evelyn"
}
}
print(#BoyGirlNames.BoyNames,#BoyGirlNames.GirlNames)