No, a hitter that reaches base safely because of an error committed by a fielder is not given credit for a hit. The assumption is that they would be out if the mistake hadn’t occurred.