Node JS Express check user life time logins

I’m able to access user id using req.oidc.user, I also want to check the number of times a user has been login into the account, mainly to check if the user is freshly signed up

I’ve seen a solution using the Rules module on Auth0’s dashboard, but I wish to get this info on the server

There are no users registered in the node.js boilerplate api by default, in order to authenticate you must first register and verify an account. The api sends a verification email after registration with a token to verify the account www.mygiftcardsite.com