Get the file name file size record count a file

Hi
I want to find file size and record count for a file in same line.

Thanks

wc -l -c file

I tried this
ls -l $0 | awk '{print $9 "|" $5}'
awk 'END {print NR}' $0

But it is printing in two different line.
I want the output as Finame,filesize,record count

---------- Post updated at 11:49 AM ---------- Previous update was at 11:40 AM ----------

I did this way
x=`ls -l $0 | awk '{print $9 "|" $5}'`
y=`awk 'END {print NR}' $0`

echo $x '|' $y
#ffvhdfvbdfv
#jdvfndfn

It should work.