power: check frequencies count before filling array