The number of solar panels isn't typically restricted, but their installation should not protrude more than 200mm beyond the plane of a roof or higher than the highest part of it.