public int getSentMailsCount() {
int count = 0;
for (Email email : getEmailsSet()) {
final EmailAddressList confirmedAddresses = email.getConfirmedAddresses();
if (confirmedAddresses != null && !confirmedAddresses.isEmpty()) {
count += confirmedAddresses.toCollection().size();
}
}
return count;
}