While clockwise (viewed from rear) is predominant, there are still plenty of exceptions even today. There's no hard technical reason, but since a prop needs to be fitted, it's an advantage to make the engine turn the same direction as available props.