code: def fact_pk(self):
          
          keys = [c for c in self.fact_table.columns if c.primary_key]
          return keys[0]
docs: Try to determine the primary key of the fact table for use in
          fact table counting. 
          If more than one column exists, return the first column of the pk.