updated membership estimated method

to allow for nulls
note to check for data in tests too