Statistics Of Certain Automorphic Representations Through The Stable Trace Formula