Added sdb_num_min/max

Related to issue #60