Why do dogs poops only once a day?

Why do some dogs only poop once? Is it ok for dogs to poop only once?