I need help to define a line limit for a shapefile file on a website, currently I can upload a zip with 2 files, one shp and the other dbf, but depending on the number of lines in the file, the processing time is very long and that ends becoming unfeasible, I would like to set the limit number of lines to up to 5k. but i am not getting anything that i can use to do this line count, i would like to know if someone could point me to an api that maybe i can do this please. Thanks