Does san marino count as a shengen country visit since they are not on the list of countries? Thank you for any help
Yes.
San Marino has an open border, which is rarely checked. So, you go in and out without any passport control. As such, you'd be hard pressed to prove you spent 90 out of the 180 required days there (even if you wanted to stay there that long), unless you had apartment receipts and the like in your name. My best guess.