From the passage provided, extract the number of bags of coffee São Paulo produced in 1888.

Coffee production attracted immigrants in search of better economic opportunities in the early 1900s. Mainly, these were Portuguese, Italian, Spanish, German, and Japanese nationals. For instance, São Paulo received approximately 733,000 immigrants in the decade preceding 1900, whilst only receiving approximately 201,000 immigrants in the six years to 1890. The production yield of coffee increases. In 1880, São Paulo produced 1.2 million bags (25% of total production), in 1888 2.6 million (40%), and in 1902 8 million bags (60%). Coffee is then 63% of the country's exports. The gains made by this trade allow sustained economic growth in the country.

São Paulo produced 2.6 million bags of coffee in 1888.