where the set of D is dimensions and the set of M is measures. Let F(x) calculate the number of members and G(x) the size of the member.

 

Debate.

 edit: I should have noted this is the approximation of the size. Depending on storage system there's obviously overhead to this.