Initial implementation of TableStats constructor