Site restricted by IP address

Hey Guys,

I'm working with a client that wants to restrict users by IP address after their 3rd visit to the site. Is there a good plugin that can handle this?

Thanks
Rob