Listing_no_of_files

In this code :

I am trying to count the number of sub-directories and files along with the path name within the current working directory..
 
Note :  use of Join() function, split()  and os.walk()