LOS GATOS (CNN Money) — Netflix’s recent price hike isn’t denting its subscriber numbers.

Netflix said Monday it added more than 8 million net subscribers in the fourth quarter of 2017, marking the strongest quarterly subscription gains in its history.

READ MORE: San Jose Murder Suspect Arrested In Modesto; Charged With Slaying Estranged Wife

The company credited the “stronger than expected” gains in new customers in part to its “original content slate.” That likely includes “Stranger Things,” Netflix’s breakout show, which returned for a second season during the quarter.

The vast majority of new subscribers continue to come from overseas, as Netflix has expanded into new international markets. Netflix added 2 million users in the U.S. and 6.36 million users abroad.

The company’s stock popped over 8% in after hours trading Monday following the earnings report. If those gains hold, Netflix would open Tuesday at a new all-time high and top a $100 billion market cap for the first time.

Shares of Netflix soared more than 50% in 2017, and have continued to rise in the first weeks of 2018 on optimism about its leading position in the streaming market.

Netflix’s bet on original content has paid off with hit shows like “Orange Is The New Black,” and “The Crown.” The company has said it will spend up to $8 billion on programming this year. Netflix also said Monday it intends to spend $2 billion on marketing.

But there is some cause for concern.

READ MORE: Facebook Changing Corporate Name To Meta

Related: Disney-21st Century Fox and the war with Netflix over streaming

Last month, Disney announced a $52 billion deal to buy 21st Century Fox, which could help power a Disney-branded streaming service to rival Netflix. Disney said in August it would pull content from Netflix.

“The market for entertainment time is vast and can support many successful services,” Netflix said in a letter to investors Monday, noting the Disney deal.

Netflix is also grappling with the fallout from a wave of sexual harassment allegations against men in Hollywood.

The company has already moved to cancel “House of Cards,” once its flagship show, after Kevin Spacey was accused of sexual harassment. Danny Masterson was written out of “The Ranch” amid rape allegations. And Netflix’s plans for another Louis C.K. stand up special were scrapped in the wake of sexual misconduct allegations.

Aziz Ansari, the star of Netflix’s “Master of None,” has also come under scrutiny recently after an anonymous woman detailed an uncomfortable sexual encounter with the comedian.

Netflix said Monday it took an “unexpected” $39 million charge for content that “we’ve decided not to move forward with,” but did not specify which shows or movies were included in that charge.

MORE NEWS: SportsLine Week 8 NFC East Picks: 'Everybody Is Piling On The Cowboys, And You Can't Blame Them,' Says Larry Hartstein

© Copyright 2018 CNN. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.