Read what the error message is telling you!
You have implemented numberOfRowsInSection:. So what? That’s the wrong method. It is irrelevant. It will never be called.
The method you need to implement is called tableView:numberOfRowsInSection:. That’s completely different.