@jimp:
dhatz is correct, ipsec-tools, which is what we use for IPsec, does not support lifetimes by data size, only by time.
A little extra research on this topic reveals that it seems to be deprecated in racoon, ie. removed and I will therefore assume that it is not a feature that is coming (back)…