Record Count of CSV and JSON files on S3 folders

D_pxListFiles is a data page which is providing the below functionality. We would like to get the number of rows of a csv/json file on repository as well.

Can it be included as part of this data page? This is created as part of Pega-IntegrationArchitect:08-01-01.

List the files and folders present under a given folder on a repository. Returns the following metadata for files/folders under the input folder:

  1. pyName - short name of the file/folder
  2. pyPath - complete path of the file/folder from the root
  3. pyIsFolder - true for folders and false for files
  4. pyLength - size in bytes (returned for files only)
  5. pyLastModifiedTime - time the file was last modified

FDBK-74638