All this talk of lone pair tunnelling is largely irrelevant; both nitrogens are amides, not amines, so are sp2 not tetrahedral. The one in the ring is fixed, so definitely won't have any E/Z isomerism. The open chain amide can potentially adopt E or Z stereochemistry, so overall there are 8 stereoisomers when the 2 stereogenic centres are considered.