max reg count