Use proper OCDB interface to the number of time bins for consistency check