Updated agnumcmd(), agdurcmd() and agfreqcmd() in agcourtlib.py