Usage patterns
〈事〉に日数がかかるit takes (a certain number of) days for something
This procedure takes a number of days to complete.
日数を数えるto count the number of days
I'm counting the number of days until departure.
日数が足りないthere aren't enough days
There aren't enough days left to prepare.
日数を計算するto calculate the number of days
I calculated the number of days spent in the hospital.