When a home is listed for sale then no the basement even when the basement is finished into a living space it will not be counted as the square footage of the home.
No below ground living areas are counted as square footage when a home is listed for sale but anything above ground such as closets and stairways are counted as square footage.
Although some real estate agents will list the finished basement separately in the listing as additional square footage but not always.