get limit count from datastore