I think they have qualified seven times.
Spain has qualified for the FIFA World Cup 13 times. Its best performance was in 2010 when it defeated the Netherlands 1-0 (a.e.t.) to hoist the FIFA World Cup Trophy.
The united Germany qualified five times for the world cup.
Australia have qualified thrice for the world cup.
they have never qualified for a world cup but have won 3.
Malta have not yet qualified for a single world cup as yet.
India qualified once for the world cup in 1950.