While camera and phone/camera manufacturers keep trying to woo us with more and more pixels, the real question actually comes down to sensor size.
Can a 11 MegaPixel camera take as good an image as a phone camera with twice the MegaPixels? The answer is yes, and probably not just as good, but significantly better.
A camera sensor has micro-sensors mounted onto it. If the actual sensor size is small, then the micro-sensors need to be smaller to fit onto the base sensor. This means that these micro-sensors have many compromises to make them physically so small while each one can cause "interference" with it's adjoining micro-sensor. While on a large base sensor, larger micro-sensors can be utilised and mounted so not to cause interference with adjoining micro-sensors.
A couple of other areas of impact that will differentiate between large and small sensors within your photography :
1 - The smaller the sensor and hence the smaller the micro-sensors, the less light that each micro-sensor can capture. Thus the camera with the smaller sensor will not perform aswell in low light situations, leading to greater digital noise within the captured image.
2 - As sensor size reduces, so does the ability to shoot with a short depth of field. This limitation of small sensors is more likely to show up in portrait photography where short depths of field are commonly desired, rather than in landscape photography where the photographer is usually seeking a large depth of field.
So the bottom line is .... don't be fooled by marketing hype about how many mega-pixels your camera or phone/camera is specified to, or incredible claims that by purchasing a clip on lens for your phone or small camera, "You can shoot like a professional".
There is much more to the story than simply a pixel count.