They should be counted as among the percentage needed for herd immunity. Studies have already shown they carry a higher amount of antibodies than vaccinated and further studies have seemed to show they are more resistant to Delta.It wouldn't make sense to count someone who isn't vaccinated, as fully vaccinated.
From the articles I've read, being infected and recovering does provide some level of immunity/antibody. The issue is that it doesn't seem to provide a consistent level, so someone with a lower level of antibodies would still be at risk of reinfection.