47 people die in armed attacks in northwestern Nigeria