Set the number of generated records in a constant instead of hardcoding it