Mathews' rescue act, and Binny's 288-ball wait
5 Hundreds by Angelo Mathews as captain in Tests - the joint the most by any captain since Mathews started leading Sri Lanka in 2013. Mathews has scored 1999 at an average of 71.39 since becoming Sri Lanka's captain. Only Alastair Cook, who has 2002 runs at 37.07, has more runs than Mathews as captain during this period.
60.75 Mathews' batting average as captain when he comes in to bat with Sri Lanka having made less than 150. In this innings, Sri Lanka were 114 for 3 when he walked out to bat. Mathews' previous century too came when Sri Lanka were in trouble, at 35 for 3 against Pakistan last month. Since becoming captain, he has hit two hundreds and seven fifties in 21 such innings.
18.78 Lahiru Thirimanne's batting average before this innings in Tests since his maiden century, against Bangladesh in Galle. In 23 innings Thirimanne had scored 357 runs at an average of 18.78 with only one fifty and had got five ducks. His 62 in this innings was his fourth fifty in Tests.
142 Balls Thirimanne took to reach his fifty in this innings, the slowest of his four fifties in Tests. His previous slowest was against New Zealand in Wellington earlier this year, when he took 128 balls to get to his fifty.
127 Partnership between Thirimanne and Mathews, the third-highest fourth-wicket stand for Sri Lanka at P Sara Oval and the highest since the 150-run partnership between Aravinda de Silva and Kumar Sangakkara against Bangladesh in 2002.
52 Wickets in Tests by Amit Mishra; Dhammika Prasad was Mishra's 50th wicket. Mishra is playing his 15th Test. As many as 13 India bowlers have got to 50 wickets faster than Mishra, but he is in good company nevertheless: two of the famous spin-quartet - Srinivas Venkataraghavan and Bishen Bedi - too took 15 Tests to take 50 wickets. Mishra's 4 for 43 in Sri Lanka's first innings were his second-best bowling figures in his career.
2010 The previous instance when the last six wickets of India's opposition added fewer than the 65 runs added by Sri Lanka in this innings, after scoring 200-plus runs for their first four wickets. In their first innings of the Kolkata Test in 2010, South Africa had added 251 runs for their first four wickets before collapsing to 291 all out.
2011 The last time Sri Lanka added fewer than the 65 runs they added in their first innings for their last six wickets in Tests at home. On that occasion, Australia had bundled out their last six wickets for just 18 runs in the first innings of the Galle Test.
18 Overs bowled by Stuart Binny in Sri Lanka's first innings - the most he has bowled in an innings in Tests. Binny also took his first Test wicket in this innings, in his 17th over, after having gone wicketless for 48 overs (288 balls) before that.
Shiva Jayaraman is a senior sub-editor (stats) at ESPNcricinfo.com