Finds the size of a key/value pair table. For example, for the table , size will return . The function will also work on arrays, but for arrays it is more efficient to use the # operator. Note that to find the table size, this function uses the pairs function to iterate through all of the table keys.