No, not attending a registered CFA exam does not count as an attempt.

You can find more information about CFA Program exam attempt limits on the CFA Institute website:
https://help.cfainstitute.org/s/article/Time-Limit-to-Complete-the-CFA-Program