(3h).count() would return the number of hours, not seconds. We need to convert 3 hours to seconds explicitly. (cherry picked from commit 1a9a22f5)