you would need to show more info.
who is inserting the data?
why would more than 20 be put in?
e.g if users login and add records individually then its better to add a counter and an if statement. theres no way (that i know of) it can be done otherwise