Text this: Robust Localization for Near- and Far-Field Signals with an Unknown Number of Sources.