Add DOMAIN_COUNT and CERT_COUNT method