How Many Databases Do You Have?