Consider the number of datum instead of size of the JSON representation