Some qualitative properties of the solutions of an elliptic equation via Morse theory