I've been reseacrhing this and there is a good chance that if you apply now they will take the time spent cohabiting into the four years, as it would be unfair of them to treat you differently from unmarried partners just because you got married.
However, there doesn't seem to be any guarantees on this one, so waiting until after the four years of marriage is probably more certain of success.
Victoria