tests: drivers: counter: nrf_rtc: Fail if no devices

Test was passing if there were no RTCs enabled given the false positive.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
diff --git a/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/test_counter_fixed_top.c b/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/test_counter_fixed_top.c
index ba66664..a86384d 100644
--- a/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/test_counter_fixed_top.c
+++ b/tests/drivers/counter/counter_nrf_rtc/fixed_top/src/test_counter_fixed_top.c
@@ -55,6 +55,7 @@
 
 static void test_all_instances(counter_test_func_t func)
 {
+	zassert_true(ARRAY_SIZE(devices) > 0);
 	for (int i = 0; i < ARRAY_SIZE(devices); i++) {
 		counter_setup_instance(devices[i]);
 		func(i);