Added error count logging when there is a shape read error.