Restrict no. of downloads.

In the membership plugin is it possible to restrict the no. of downloads a user can make per month? I'm prepared to write some php if I must.