Socioecological complexity in primate groups and its cognitive correlates · Study