Modify method of calculating the number of members