Entropy of the electrically charged hairy black holes