Questions & Answers about Я не помню, какое сегодня число.
Because число is a neuter singular noun, and какое is the neuter singular form of какой.
The forms are:
- какой — masculine
- какая — feminine
- какое — neuter
- какие — plural
So in какое сегодня число, the word какое agrees with число.
Also, in this expression, какое is best understood as what date, even though какой can also mean which or what kind of in other contexts.
It does literally mean number, but in this context число specifically means the day of the month, so the whole expression какое сегодня число? means what is today’s date?
For example:
- Сегодня пятое. — Today is the fifth.
- Сегодня двадцать третье апреля. — Today is April 23rd.
So this is a very common set phrase in Russian.