It says in the bible 1 Samuel, that God does not look at the appearance of a man, but rather looks at his heart.
And we, who are modeled after God, do much the same thing with regard with those whom we value.
I makes all the difference in the world when we offer even the tinest things to God out of love for him for we are his children, and that is the way he looks upon us. A father loves his child, and if the child tries to please his father, even tho his attempt fails, the father still appreciates that child’s efforts.
It is the same with our heavenly Father, to treat him as a real Father who very much looks into our heart and longs for our love.
So yes, all that we do in love counts very much, and our prayers are answered more because we try to please him and love him more than any thing else we might do. This is why the saints prayers were so strong and powerful, even bringing about miracles…love.
Especially if our prayers are unselfish, they are most pleasing.