I according to other formats include format.
Create a helper function for get a half open interval elements number.