Need SQL Query for Audittrail count against Master Table

Glad it worked. Thank you for the feedback.