TOKYO - The number of foreign visitors to Japan totaled 3.29 million in July, up 41.9 percent from a year earlier and hitting a record high for a single month, boosted by the weak yen, government data showed Wednesday.