Both methods work in the stock market. Trend follower tends to involve less risk with minimal profit. Hence, counter trend followers involve more risk but with better profit taking.
In fact, most of the stock investor who got very rich are counter trend followers, when there’s a market correction, they will went in to pick the good stocks with cheap price.
Importantly, the person personality decides his investment methods.