Fix bug #542 [count]Y
#670 only prevent crash.