Optical sum-frequency generation in transmission with two counter-propagating SPWs