do not count string lenght twice

Message lenght is always counted after selecting the message in any case,
see main() for details.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>