Specified number of categoy posts not showing correctly

If you need the number of posts in the query args then use posts_per_page, since posts_per_page has a default value of 10, it will always display 10 posts, if you wish to see all the posts, as in, there should not be any limit then choose its value to be -1 and use it like this

$args=array( 
    'post_type'=>'page',
    'posts_per_page'=> '-1', 
);