count yesterdays Ad view in a company and Send email