26 episodes, and 11 episodes after that. if you're dividing it it's still two parts though, or five or six if you divide it further.
second part isn't as good and near's entire existence pisses me off, but even that is better than most other anime...and as much of a terrible character as near is, especially considering who he effectively replaces, the second part does introduce mello and mikami who are both pretty great.