On the number of maximal theta pairs in a finite group