Here’s a look at Twitter’s second-quarter numbers that has investors buying back in:

–16 million monthly active users: Twitter added this many users who logged in at least once, the highest such total in the past five periods, giving it 271 million. Those totals are still paltry compared with Facebook, which now has 1.32 billion monthly users after adding about 40 million last quarter. But Twitter’s 6.3% user growth is a positive trend, building on 5.8% and 3.87% growth in the two previous quarters. Twitter CEO Dick Costolo said on CNBC that the service benefited from a full month of World Cup action in June and July and product changes that encouraged people to sign up.

–$312.2 million in revenue: So much for analysts’ consensus estimate, which called for $283.1 million. Twitter more than doubled the year-ago figure of $139.3 million. Mobile advertising revenue — which now makes up 81% of total ad sales — surged as Twitter released a new suite of ad units, including the mobile app-install ad. “We like the success we’ve had there,” Costolo said of the ad units while declining to go into specifics, such as the number of downloads the ads drove.

–$144.6 million loss: Yes, Twitter is still largely unprofitable. Wall Street is giving it a pass for now — or, at least, focusing on user growth — as the company continues to build out its business and hire employees, largely compensating them with stock.

--2-cent adjusted profit: This figure, excluding costs like stock compensation, is what analysts look for, and the adjusted profit was unexpected. Analysts on average had expected a loss of 1 cent. That surging revenue certainly helped.

–173 billion timeline views: This self-invented engagement metric measures how many times users refresh their content feed, whether on desktop or mobile. This figure rose more than 10% from three months earlier, following growth of 6% last quarter. Again, the World Cup likely helped in this quarter as more people turned to Twitter for results and conversation.

–35% stock-price jump: The fact that Dick Costolo was eager to appear on CNBC right after Twitter’s earnings report came out should have signaled this would be a big quarter. Twitter’s stock is now trading at more than $50 in after-hours trading, meaning its now back above its first-day trading price of $44.90. What a reversal from three months ago, when shares began a tailspin to reach new lows after disappointing first-quarter earnings.

Traders prepare for Twitter’s IPO on the floor of the New York Stock Exchange on Nov. 7, 2013.

Bloomberg News

Twitter’s stock is soaring more than 35% after the company beat estimates in profit, revenue and — perhaps most important to Wall Street — user growth.