Is being absent counted as an attempt

hello i was not able to attend my ph test/ absent. As far i know i can have 3 attempts. I want to know if being absent in test counted as attempt.