Counting lines use sed command

#!/usr/bin/sed -nf
$=