add bins argument to histogram

add bins to histrogram