Does a walk count as a hit in baseball?

No. A walk does not count as a base hit nor an official time at bat.