The total number of foreign students was up last school year, but the amount they spend in the Commonwealth fell.