countnode234() should politely return 0 when passed NULL. Was