I am writing file names of all files in a directory by using the command below.

```
cmd /c dir /s /b /a:-d E:\SportsData /b /a:-d > E:\outputs\FileStats.txt

```

I also need line counts of each file. How can I achieve this?