As Indian stock markets continue to outperform compared to a global market, the number of total demat accounts increased to 179 million in October, from 175 million in September.