China has revised up the size of its economy by adding research and development spending.