824 crore invested in Indian markets in August