Implement Table::getCountBy
Implement calculateStartDate fully