I tabbed back to Visual Studio (C#): 24990 "unit" tests, all written by hand over the past years.
Behind that is a smaller number of larger integration tests, and the even longer running regression tests that are run every release but not on every commit.