If it echo's a 7 then you either have an echo alias or have copied it wrong, probably by accidentally removing the . in the .echo command.
Many scripts use the exact same way of doing things, which is why it was mentioned in this
Feature Suggestion.
Edit: I also just noticed that codemastr posted the exact same script..