Keeping a big secret like that is hardly possible. Most people with a brain knew the NSA was monitoring domestic communications before the Snowden fiasco.
So, people would know because if it wasn't so, such a secret is simply too difficult to keep. Citizens have to work in the intelligence positions, too.