boost::mpl: count/count_if and deque

Signed-off-by: Alex Dubov <oakad@yahoo.com>