Investment in real estate was up 18.7% in the first four months of the year, cooling significantly from a 23.5% gain in the first three months of the year, according to official figures released Friday. The data weren’t broken down on a monthly basis.