added new findsize method to post controller