It seems that when you change the primary user in a rule, the sign in is not documented on the user you changed to.
When a user signs in using a social connection, we create a new user with auth0 as the provider and link the social user into it (this allows us to always be able to change the primary email of a user).
The loginsCount and lastLogin on the newly created user are 0 and null.
Sorry for the delay in response. We’re doing our best in providing you with best developer support experience out there, but sometimes there are too many questions to handle. Sorry for the inconvenience!