fix test_access_codes_email so that it counts messages rather than message length.
fix test_access_codes_email so that it counts messages rather than message length.

WikipediaLibrary/TWLight,WikipediaLibrary/TWLight,WikipediaLibrary/TWLight,WikipediaLibrary/TWLight,WikipediaLibrary/TWLight