Counting number of fieldnames is moved to iteraddfield()

Cleaner padding of None to short rows

Comment and catching TypeError added to handle situations where value(row) will fail because the expression/lambda will cause a TypeError, e.g., unsupported operand type(s) for *: 'NoneType' and 'int'