=IMPORTXML("https://twitter.com/intent/user?screen_name=benjam1n", "(//dd[@class='count']//a)[1]")
=IMPORTXML("https://twitter.com/intent/user?screen_name=benjam1n", "(//dd[@class='count']//a)[2]")
Note: Only thing that's different is the number at the end
=IMPORTXML(SUBSTITUTE(B1,"https://twitter.com/", "https://twitter.com/intent/user?screen_name="), "(//dd[@class='count']//a)[1]")
Note: Assuming you have column (e.g. B2) with URL to Twitter profile (e.g. https://twitter.com/benjam1n)