Toilet training

Brie
I have a two and a half year old. She wears underwear all day but she has one accident daily. She also needs a diaper to sleep in because she Won't wake up to pee. Can I consider her potty trained even though she has one accident daily? I have been trying to train her for a year.