does reaching base on an error count as an at bat