There is no hard data on the frequency of failures on these engines. From anecdote, there appear to be plenty (count my neighbor as one of the anecdotes).
If you do a search here, you will find a great number of threads where the cost of engine replacement is discussed.
As you might imagine, the cost ranges all over the lot. If you find a used engine and do the job yourself, or if you simply drop it off at the dealer for a replacement engine, the cost range can be substantial.
Good luck and choose wisely.