Twenty six, although it's dependent upon sea level. If the level fell a few feet, it would be one atoll. If it rose a few feet, the country would cease to exist.
Maldives has 26 natural atolls. among which 20 are administrative atolls. altogether Maldives has 1190 islands. You can search other sources like wikipedia :)