enrich API with number of rows and columns