can you post your entire code for LoginContext()? I'll admit... I'm stumped... dang... I have the perfect lolcat for that and I don't have my links handy... :P anyways.. .clearly there's something else going on... not sure what it is... but that last error makes no sense to me.

I see that you have context.logins in the line that follows.... what if you do this:
Label3.Content = context.logins.Count ';may or may not need .ToString on the end of that too...

-tg