Find all non-empty files in the current directory (max depth of 1) and execute the stat command to print the inode number and name of each file. Then, use awk to store the inode number and name in an array and print the name of each file.
find . -not -empty -type f -maxdepth 1 -exec stat -c '%i %n' {} \; | awk '{arr[$1]+=$2}END{for (i in arr)print arr[i]}'