若集合M={0,1,2},N={(x,y)|x-2y+1≥0且x-2y-1≤0,x,y∈M},则N中元素的个数为(  )