# replace with another operations that also commits all pending ops, such
# as session.commit() or flush() or something
print HistoryPCURecord.query.count()
# replace with another operations that also commits all pending ops, such
# as session.commit() or flush() or something
print HistoryPCURecord.query.count()