DMS has a field for this, Visitors .ExternalUser, but you need to write code to populate it. Include this code in your login handler:
if (Tracker.IsActive) { Tracker.Visitor.ExternalUser = Sitecore.Context.User.DisplayName.ToLower(); }
Then you can compare the number of visitors with this field, filled with the total number of visitors.
source share