LURE: Fix getNumGroats

This fixes bug #3612682